class RequestHelper(object):
    def __init__(self):
        self._referer_link = "https://servicewechat.com/wx141bfb9b73c970a9/48/page-frame.html"

    def generate_request_header(self, user_token):
        user_agent_list = list()
        user_agent_list.append("Mozilla/5.0 (X11; Linux x86_64; wv)")
        user_agent_list.append("AppleWebKit/537.36 (KHTML, like Gecko)")
        user_agent_list.append("MicroMessenger/8.0.21.2120(0x2800153B)")
        user_agent_list.append("MiniProgramEnv/android")
        user_agent = " ".join(user_agent_list)
        return {"t": user_token, "User-Agent": user_agent, "Referer": self._referer_link,
                "content-type": "application/json"}
